
#ifndef __RECTANGLE_H__
#define __RECTANGLE_H__

#define INVALID_VALUE_FOR_RECT   0

class Rectangle
{
public:
	Rectangle(double width, double height);

	double getArea() const;
	double getPerimeter() const;
	bool setWidth(double width);
	bool setHeight(double height);
	
private:
	bool isValid() const;
	double width_m;
	double height_m;
};

#endif

